//
//  ImageHelper.h
//  DeyiLife
//
//  Created by zxin on 15/6/2.
//  Copyright (c) 2015年 Deyi. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface DYImageHelper : NSObject

+ (UIImage*)convertImageToGreyScale:(UIImage*)image;
+ (UIImage*)convertImageToBlackWhite:(UIImage*)anImage type:(int)type;
+ (UIImage *)resizeImage:(UIImage *)sourceImage targetSize:(CGSize)size;
+ (UIImage *)clipImage:(UIImage *)sourceImage targetArea:(CGRect)rect;
+ (UIImage *)compressImage:(UIImage *)sourceImage ratio:(CGFloat)ratio;
+ (UIImage *)image:(UIImage *)image rotation:(UIImageOrientation)orientation;

@end
